Skip to content

Conversation

bonjourmauko
Copy link
Member

@bonjourmauko bonjourmauko commented Dec 1, 2022

Fixes #1035
Fixes #1153
Fixes #1058
Fixes #1111

Breaking changes

  • Drop support for NumPy < 1.20
  • Drop support for Python < 3.7

New features

  • Add support for Python 3.8
  • Add CI for Windows

@bonjourmauko bonjourmauko force-pushed the test-python-3-matrix branch 30 times, most recently from c368d4a to addb116 Compare December 2, 2022 08:19
@bonjourmauko
Copy link
Member Author

Hi @MattiSG, please let me know if you're OK with these changes. I removed the web triggered part to reduce scope.

Comment on lines +3 to +5
on:
pull_request:
types: [assigned, opened, reopened, synchronize, ready_for_review]
Copy link
Contributor

@benoit-cty benoit-cty Jan 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After this PR, the CI will not run on push outside a Pull Request.

Curent behavior is to run on all push : on: [ push, pull_request, workflow_dispatch ].

See also : openfisca/openfisca-france#1788 (comment)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I removed it to easy review. But I can readd it. I'll do.

strategy:
fail-fast: true
matrix:
os: [ubuntu-20.04, windows-latest]
Copy link
Contributor

@benoit-cty benoit-cty Jan 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a comment to explain why you use old ubuntu-20.04 instead of ubuntu-22.04 ?
Because the Python version between Windows-latest and Ubuntu 22.04 did not match, cf https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json ?
See my failing test on https://github.com/openfisca/openfisca-core/actions/runs/4015575836

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think in the time between this PR was open Github also updated windows.

@benoit-cty
Copy link
Contributor

Hello @bonjourmauko, are you OK to close this PR as support for Python 3.8 has been dropped ?

@bonjourmauko
Copy link
Member Author

Hello @bonjourmauko, are you OK to close this PR as support for Python 3.8 has been dropped ?

Let me take a look.

@bonjourmauko
Copy link
Member Author

Fixed by #1181
Superseded by #1234

@bonjourmauko bonjourmauko deleted the test-python-3-matrix branch September 27, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Misleading warning about PyYAML Test Python 3.8

4 participants